﻿using System;
using UnityEngine;

// Token: 0x0200015F RID: 351
[DisallowMultipleComponent]
[AddComponentMenu("RVP/C#/AI/Vehicle Waypoint", 1)]
public class VehicleWaypoint : MonoBehaviour
{
	// Token: 0x0600066B RID: 1643 RVA: 0x00036058 File Offset: 0x00034258
	private void OnDrawGizmos()
	{
		Gizmos.color = Color.yellow;
		Gizmos.DrawWireSphere(base.transform.position, this.radius);
		if (this.nextPoint)
		{
			Gizmos.color = Color.magenta;
			Gizmos.DrawLine(base.transform.position, this.nextPoint.transform.position);
		}
	}

	// Token: 0x04000A2D RID: 2605
	public VehicleWaypoint nextPoint;

	// Token: 0x04000A2E RID: 2606
	public float radius = 10f;

	// Token: 0x04000A2F RID: 2607
	[Tooltip("Percentage of a vehicle's max speed to drive at")]
	[Range(0f, 1f)]
	public float speed = 1f;
}
